using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using Utility;
using Entities;
using BUS;
public partial class Admin_NhanVienAdd : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {

    }
    protected void btn_Add_Click(object sender, EventArgs e)
    {
        tbNhanVien nhanvien = new tbNhanVien();
        nhanvien.TaiKhoan = txt_TaiKhoan.Text;
        nhanvien.MatKhau = txt_MatKhau.Text;
        nhanvien.TenNhanVien = txt_TenNV.Text;
        nhanvien.DiaChi = txt_DiaChi.Text;
        nhanvien.DienThoai = txt_DienThoai.Text;
        tbNhanVienBUS.Insert_NhanVien(nhanvien);
        Response.Redirect("~/Admin/NhanVienList.aspx");
    }
}
